package com.example.minademo.service;

import com.example.minademo.entity.Controller;
import com.example.minademo.entity.User;

import java.util.List;

public interface ControllerService {

    List<User> findControlledUsersByUserId(Integer userId);

    Controller save(Integer userId, Integer controlledUserId, String controlledUserName);

    Controller updateShotNumber(Integer userId, Integer controlledUserId);

    Controller findByUserIdAndControlledUserId(Integer userId,Integer controlledUserId);

}
